package br.pucrio.inf.lac.konoha.hyuga.playground;

import java.io.Serializable;

public class A implements Serializable {
    private int x;
    private int secret;
    
    public A() {
        this.secret = (int) (Math.random() * 100);
    }
    
    public A(int x) {
        this();
        this.x = x;
    }
    
    public int getX() {
        return x;
    }
    
    public void setX(int x) {
        this.x = x;
    }
    
     public int getSecret() {
        return secret;
    }
     
     public void setSecret(int secret) {
        this.secret = secret;
    }
     
     @Override
    public String toString() {
         return x + "--" + secret;
    }

}
